package io.renren.modules.simida.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.simida.entity.SysDictEntity;

import java.util.List;
import java.util.Map;

/**
 * 数据字典表
 *
 * @author miaoguoxin
 * @email ${email}
 * @date 2019-11-22 22:09:47
 */
public interface SysDictService extends IService<SysDictEntity> {

    PageUtils queryPage(Map<String, Object> params);

    SysDictEntity queryById(Long id);

    boolean saveOne(SysDictEntity sysDictEntity);

    boolean updateOneById(SysDictEntity sysDict);

    void logicDeleteBatch(List<Long> ids);

    List<JSONObject> queryAllDictTypes();
}

